package com.shxc.smarttrade.index.model;

import java.util.List;

/**
 * 首页 轮播图
 */

public class BannerModel {


    /**
     * data : [{"imageName":"http://forex-trading","like":"www.bilibili.com","displayOrder":1,"name":"圣诞节活动","id":36,"pageName":"1"}]
     * err_code : 0
     * err_msg : successe
     */

    private String err_code;
    private String err_msg;
    private List<DataBean> data;

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * imageName : http://forex-trading
         * like : www.bilibili.com
         * displayOrder : 1
         * name : 圣诞节活动
         * id : 36
         * pageName : 1
         */

        private String imageName;//图片的地址
        private String like;//h5活动连接
        private int displayOrder;
        private String name;//banner名称
        private int id;
        private String pageName;//详情图地址
        private int type;//状态 0 什么都不做 1跳转到h5 2显示pageName的图片

        public String getImageName() {
            return imageName;
        }

        public void setImageName(String imageName) {
            this.imageName = imageName;
        }

        public String getLike() {
            return like;
        }

        public void setLike(String like) {
            this.like = like;
        }

        public int getDisplayOrder() {
            return displayOrder;
        }

        public void setDisplayOrder(int displayOrder) {
            this.displayOrder = displayOrder;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPageName() {
            return pageName;
        }

        public void setPageName(String pageName) {
            this.pageName = pageName;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
